<template>
  <div id="main">
    <!-- 侧边栏 -->
    <manAside />
    <!-- 头部 -->
    <div class="view">
      <Headers />
      <Tags />
      <!-- <Home></Home> -->
      <div id="range">
        <router-view></router-view>
      </div>
    </div>
    <!-- 显示路由信息部分 -->
    <!-- 路由跳转部分 -->
  </div>
</template>
<script>
import manAside from '@/components/asides';
import Headers from '@/components/headers';
// import Home from '@/views/Home'
import Tags from '@/components/tags';
export default {
  name: 'myMain',
  components: {
    manAside,
    Headers,
    Tags,
    // Home
  }
}
</script>

<style>
#main {
  height: 100vh;
  display: flex;
  overflow: hidden;
}

.view {
  width: 100%;
}

#range {
  overflow: auto;
  height: 100vh;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
  background-color: rgba(0, 0, 0, .2);
}

::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  background-color: #F5F5F5;
}

/*定义滑块
     内阴影+圆角*/
::-webkit-scrollbar-thumb {
  border-radius: 10px;
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
  background-color: #b3b3b3;
}
</style>
